Skip to content

Fix resetting gateway stats#7779

Merged
ryaplots merged 1 commit into
v3.35from
fix/gateway-stats
Dec 4, 2025
Merged

Fix resetting gateway stats#7779
ryaplots merged 1 commit into
v3.35from
fix/gateway-stats

Conversation

@ryaplots
Copy link
Copy Markdown
Contributor

@ryaplots ryaplots commented Dec 4, 2025

Summary

References https://github.com/TheThingsIndustries/lorawan-stack-support/issues/1389#issuecomment-3612635714

Changes

  • Check if a new gateway was selected to reset stats to default.

Testing

Steps

Follow the steps in the RFT original PR.

Notes for Reviewers

I finally found the core issue. When refreshing, the getGateway() request resets the stats to default, which causes an unknown status to show temporarily in the gateway status panel, while the gateway stats fetch is completed.
This does not happen locally because the gateway stats request completes way faster than in production.

Checklist

  • Scope: The referenced issue is addressed, there are no unrelated changes.
  • Compatibility: The changes are backwards compatible with existing API, storage, configuration and CLI, according to the compatibility commitments in README.md for the chosen target branch.
  • Documentation: Relevant documentation is added or updated.
  • Testing: The steps/process to test this feature are clearly explained including testing for regressions.
  • Infrastructure: If infrastructural changes (e.g., new RPC, configuration) are needed, a separate issue is created in the infrastructural repositories.
  • Changelog: Significant features, behavior changes, deprecations and fixes are added to CHANGELOG.md.
  • Commits: Commit messages follow guidelines in CONTRIBUTING.md, there are no fixup commits left.

@ryaplots ryaplots self-assigned this Dec 4, 2025
@ryaplots ryaplots requested a review from a team as a code owner December 4, 2025 17:12
@ryaplots ryaplots added the ui/web This is related to a web interface label Dec 4, 2025
@ryaplots ryaplots merged commit eebc896 into v3.35 Dec 4, 2025
13 checks passed
@ryaplots ryaplots deleted the fix/gateway-stats branch December 4, 2025 19:43
happyRip pushed a commit that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui/web This is related to a web interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants